package GoFile

import (
	"github.com/gin-gonic/gin"
	"mbti/Controller"
)

func StudentManage(re *gin.Engine) {
	re.POST("api/login", Controller.StudentLogin)
	re.POST("api/Register", Controller.StuRegister)
	re.POST("api/logout", Controller.StudentLogout)
	re.POST("api/ShowStudent", Controller.ShowStudent)
	re.POST("api/EditStudent", Controller.EditStudent)
	re.POST("api/DelStudent", Controller.DelStudent)
	re.POST("api/StuResult", Controller.StuResult)
	re.POST("api/StuDelResult", Controller.StuDelResult)
	re.POST("api/userCenter/changePassword", Controller.ChangePassword)
}
